home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / Mark Pilgrim / Brailler 0.5ß / Brailler 0.5ß.source / brlr ƒ / brlr.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-30  |  369 b   |  23 lines  |  [TEXT/MMCC]

  1. #include "brlr.h"
  2. #include "graphics.h"
  3. #include "window layer.h"
  4.  
  5. void InitTheProgram(void)
  6. {
  7. }
  8.  
  9. Boolean ShutDownTheProgram(void)
  10. {
  11.     WindowPtr        theWindow;
  12.     
  13.     while ((theWindow=GetFrontDocumentWindow())!=0L)
  14.         if (!CloseTheWindow(theWindow))
  15.             return FALSE;
  16.     
  17.     while ((theWindow=FrontWindow())!=0L)
  18.         if (!CloseTheWindow(theWindow))
  19.             return FALSE;
  20.     
  21.     return TRUE;
  22. }
  23.